package com.tech.cloudapp.db.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;

import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.FieldNameConstants;

/**
 * <p>
 * 试卷信息表
 * </p>
 *
 * @author mojianyou
 * @since 2025-03-23
 */
@Data
@EqualsAndHashCode(callSuper = false)
public class QuestionPaper implements Serializable {

    private static final long serialVersionUID=1L;

    /**
     * 自增主键ID
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    /**
     * 分类ID
     */
    private Integer classifyId;

    /**
     * 试卷标题
     */
    private String title;

    /**
     * 难度等级（如：初级/中级/高级）
     */
    @TableField(value = "`level`")
    private String level;

    /**
     * 试卷排序序号
     */
    @TableField(value = "`order`")
    private Integer order;

    /**
     * 试卷备注说明
     */
    private String remark;

}
